
namespace JTZY.Model.Order.Dto
{
    /// <summary>
    /// 换货明细查询对象
    /// </summary>
    public class ExchangedetailQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 换货明细输入输出对象
    /// </summary>
    public class ExchangedetailDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "AftersalesId不能为空")]
        public string AftersalesId { get; set; }

        [Required(ErrorMessage = "OrderId不能为空")]
        public string OrderId { get; set; }

        [Required(ErrorMessage = "ProductId不能为空")]
        public int ProductId { get; set; }

        [Required(ErrorMessage = "SnCode不能为空")]
        public string SnCode { get; set; }

        public string ImageUrl { get; set; }
        public string Addon { get; set; }

        public DateTime? productDate { get; set; }

        public long UserId { get; set; }

    }

    public class QueryDetailsDto 
    {
        public string aftersalesId { get; set; }

    }
}